package com.zmovie.framework.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zmovie.framework.domain.Cinema;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author lenovo
* @description 针对表【cinema】的数据库操作Service
* @createDate 2023-11-27 19:49:32
*/
public interface CinemaService extends IService<Cinema> {
    /**
     * 条件分页查询
     * @param cinema 封装条件
     * @param pageNo 页号
     * @param pageSize 页大小
     */
    Page<Cinema> pageCinema(Cinema cinema, Integer pageNo, Integer pageSize);

    /**
     * 根据id条件修改,
     * @param cinema id isTicketChanged isRefunded
     */
    boolean updateByIdCondition(Cinema cinema);
}
